package com.xunqi.permission.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Api(tags = "admin控制器")
@Controller
@RequestMapping(value = "/admin")
public class AdminController {

    @ApiOperation(value = "登录之后跳转到admin管理界面",httpMethod = "GET",protocols = "HTTP",produces = "/index.page",response = String.class)
    @RequestMapping(value = "index.page")
    public String index() {
        return "admin";
    }
}
